//
//  LKUserHelpPictureViewController.m
//  Mideleague_Shop
//
//  Created by Zhiwang on 2020/7/17.
//  Copyright © 2020 Zhiwang. All rights reserved.
//

#import "LKUserHelpPictureViewController.h"

@interface LKUserHelpPictureViewController ()<UIScrollViewDelegate>
@property(nonatomic,strong)UIScrollView *scrollView;
@property(nonatomic,strong)UIImageView *imageV;
@end

@implementation LKUserHelpPictureViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"使用帮助";
    self.scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, NAVIGATION_BAR_HEIGHT, WIDTH, HEIGHT - NAVIGATION_BAR_HEIGHT)];
    [self.view addSubview:self.scrollView];
    self.scrollView.showsHorizontalScrollIndicator = NO;
    self.scrollView.showsVerticalScrollIndicator = NO;
    self.scrollView.bounces = YES;
    self.scrollView.delegate = self;
    self.scrollView.contentSize = CGSizeMake(WIDTH, self.currentImage.size.height);
    self.imageV = [[UIImageView alloc] initWithFrame:self.scrollView.bounds];
    self.imageV.image = self.currentImage;
    [self.scrollView addSubview:self.imageV];
    // Do any additional setup after loading the view.
}
-(void)scrollViewDidScroll:(UIScrollView *)scrollView{
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
